package com.woniuxy.dao;

import com.woniuxy.entity.ExamMenu;
import com.woniuxy.entity.PaperClassEntity;

import java.util.List;

public interface PaperClassDao {

    List<PaperClassEntity> findAll();
    public List<PaperClassEntity> findAll(int currentPage, int pageSize);
    /**查找总条数*/
    Integer findTotalNumber();

    int deleteById(int id);

    List<PaperClassEntity> findFid();

    int insertClass(PaperClassEntity paperClassEntity);

    int updateClass(PaperClassEntity paperClassEntity);

    int batchDelete(PaperClassEntity paperClassEntity);
    /**按试卷分类名称搜索*/
    List<PaperClassEntity> searchClass(PaperClassEntity paperClassEntity);


    PaperClassEntity updateBefore(PaperClassEntity paperClassEntity);

}
